FROM anapsix/alpine-java:8_server-jre_unlimited

MAINTAINER kaiwotech@gmail.com

RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime

RUN mkdir -p /eureka-server

WORKDIR /eureka-server

EXPOSE 8000

ADD ./eureka-server/target/eureka-server.jar ./


CMD sleep 10;java -Xms128m -Xmx256m -Djava.security.egd=file:/dev/./urandom -jar eureka-server.jar


